{// 引入标签库 }
<tagLib name="html" />
<include file="Public:header" />
<div class="main">
<div class="main_title">{$main_title}</div>
<div class="blank5"></div>
<div class="button_row">
	<if condition="$default_map">
	<input type="button" class="button" value="{$Think.lang.ADD}" onclick="location.href='{:u("Adv/add",array("rel_table"=>$default_map['rel_table'],"rel_id"=>$default_map['rel_id']))}';" />
	<else />
	<input type="button" class="button" value="{$Think.lang.ADD}" onclick="add();" />
	</if>
	<input type="button" class="button" value="{$Think.lang.FOREVERDEL}" onclick="foreverdel();" />
</div>
<div class="blank5"></div>
<html:list 
	id="dataTable" 
	style="dataTable" 
	name="adv" 
	checkbox="true" 
	action="true" 
	datasource="list" 
	show="id:{$Think.lang.ID}|50px
	,name:广告名称:edit
	,is_effect|get_is_effect=$adv['id']:{$Think.lang.IS_EFFECT}
	,tmpl:模板
	,adv_id:广告ID" 
	actionlist="edit:{$Think.lang.EDIT}, foreverdel:{$Think.lang.FOREVERDEL}" /> 

<div class="blank5"></div>
<div class="page">{$page}</div>
</div>
<include file="Public:footer" />